package main

import (
	//#cgo LDFLAGS: -lm
	//#include <math.h>
	"C"
	"fmt"
)

// 必须写的
func main() {}

//export AddNumbers
func AddNumbers(n int) {
	fmt.Println(C.sqrt(C.double(n)))
}

//export AddNum
func AddNum(a int, b int) {
	fmt.Println("%v + %v = %v", a, b, a+b)
}

//export Hello
func Hello() string {
	return "Hello"
}

//export Test
func Test() {
	println("export Test")
}
